<!DOCTYPE html>
<html>
<head>
    <title>新增车辆信息</title>
    <meta charset="UTF-8"/>
    <script src="../../../../../../miniUI/scripts/boot.js"></script>
</head>
<style>
    /*table,table td,table th{border:1px solid #ccc;border-collapse:collapse;}*/
    tr {
        border-bottom:1px solid #ccc;
        line-height: 40px;
    }
    td{
        display:inline-black
    }
    .errorText{
        color:red;
    }
</style>
<body>
<div class="mini-toolbar" style="padding:2px;border-top:0;border-left:0;border-right:0;">
    <a class="mini-button" onclick="onSave" style="width:60px;margin-right:20px;">确定</a>
    <a class="mini-button" onclick="onCancel" style="width:60px;">取消</a>
</div>
<form id="form1"  method="post">

    <td hidden>
        <input id="carInfoId" width="87%" name="carInfoId" class="mini-textbox" visible ="false" />
    </td>
    <div>
        <table style=" width:100%;table-layout:fixed;word-break:break-all">
            <tr >
                <td  colspan="1">
                    车辆编码：
                </td>
                <td colspan="6" >
                    <input required="true" id="carCode"  name="carCode" class="mini-textbox" visible="true" />
                </td>
                <td   rowspan="3" style="width: 10%">  <input style="float:right;width:150px; height: 150px;border: 1px solid #ccc;padding-top:50px" type="file" accept="image/*" id="file-txz" name="file" onchange="upload('#file-txz', '#img-txz');"  class="fileInput"  value="" />  车辆照片 </td>
            </tr>
            <tr >
                <td  colspan="1">
                    车辆名称：
                </td>
                <td colspan="9" >
                    <input required="true" id="carName"  name="carName" class="mini-textbox" visible="true" />
                </td>
            </tr>
            <tr >
                <td  colspan="1">
                    车牌号码：
                </td>
                <td colspan="3" >
                    <input required="true" id="carPlateNumber"  name="carPlateNumber" class="mini-textbox" visible="true" />
                </td>


            </tr>
            <tr >
                <td  colspan="1">
                    座位数：
                </td>
                <td colspan="3" >
                    <input onvalidation="onPwdValidation" required="true" vtype="float" requireErrorText="必须为数字" id="carSeates"  name="carSeates" class="mini-textbox" visible="true" />
                </td>
                <td colspan="6">
                    <div id="carSeates_error" class="errorText"></div>
                </td>

            </tr>

            <tr >
                <td rowspan="1"  >
                    <div> 车辆信息：</div>
    </td>
    <td colspan="1" >
        <div > 车身颜色：</div>
    </td>
    <td colspan="6">
        <input required="true" id="carColor"  name="carColor" class="mini-textbox"   />
    </td>
    <td></td>
    </tr>
    <tr>
        <td colspan="1"></td>
        <td colspan="1">排量</td>
        <td colspan="7">

            <input required="true" id="carDisplacement" name="carDisplacement"   class="mini-textbox"   />
        </td>
        <td></td>
    </tr>
    <tr>
        <td colspan="1"></td>
        <td colspan="1">发动机编号：</td>
        <td colspan="7">
            <input required="true" id="carEngineNumber" name="carEngineNumber" class="mini-textbox"   />
        </td>

    </tr>

    <tr >
        <td  colspan="1">车辆类型：</td>
        <td colspan="9"  style="width:100px;"><input required="true" id="carType" width="15%" name="carType" class="mini-combobox" valueField="id"  /></td>

    </tr>
    <tr>
        <td  colspan="1">所属部门：</td>
        <td  colspan="3" ><input required="true" id="deptIds" width="80%" name="carPermission"  onbuttonclick="onButtonEdit" width="80%" name="carPermission"
                                 class="mini-buttonedit" class="mini-textboxlist"  style="width:89%"
                                 valueField="id" textField="nameText"  _allowInput="false" inputMode="true"/>

        </td>

    </tr>

    <tr>
        <td  colspan="1">购买日期：</td>
        <td  colspan="9"><input width="20%" id="carBuyDate" name="carBuyDate" class="mini-datepicker" value="" valueType="string"   />
        </td>
    </tr>

    <tr>
        <td  colspan="1">年检日期：</td>
        <td  colspan="2"><input  width="100%" id="carAnnualDate" name="carAnnualDate" class="mini-datepicker" value="" valueType="string"   />
        </td>
        <td  colspan="1" style="text-align: right;">
            到期提醒时间
        </td>
        <td  colspan="2"><input  width="100%" id="loginname" name="loginname" class="mini-textbox"   />
        </td>
        <td  colspan="4">
            <input name="salary" class="mini-checkbox"  style="width: 50px;text-align: center;"/>
            发送事务提醒信息
        </td>

    </tr>
    <tr>
        <td  colspan="1">保险日期：</td>
        <td  colspan="2"><input  width="100%" id="dated" name="dated" class="mini-datepicker" value="" valueType="string"  />
        </td>
        <td  colspan="1" style="text-align: right;">
            到期提醒时间
        </td>
        <td  colspan="2"><input  width="100%" id="loginname" name="loginname" class="mini-textbox"   />
        </td>
        <td  colspan="4">
            <input name="salary" class="mini-checkbox"  style="width: 50px;text-align: center;"/>
            发送事务提醒信息
        </td>

    </tr>
    <tr>
        <td  colspan="1">商业险日期：</td>
        <td  colspan="2"><input  width="100%" id="loginname" name="loginname"  class="mini-datepicker" value="" valueType="string"  />
        </td>
        <td  colspan="1" style="text-align: right;">
            到期提醒时间
        </td>
        <td  colspan="2"><input  width="100%" id="loginname" name="loginname" class="mini-textbox"  class="mini-datepicker" value="" valueType="string" />
        </td>
        <td  colspan="4">
            <input name="salary" class="mini-checkbox"  style="width: 50px;text-align: center;"/>
            发送事务提醒信息
        </td>
    </tr>

    <tr >
        <td  colspan="1">当前状态：</td>
        <td colspan="9"  style="width:100px;"><input id="carState" width="15%" name="carState" class="mini-combobox"   valueField="id"/></td>

    </tr>
    <tr>
        <td style="width: 10%"></td>
        <td style="width: 10%"></td>
        <td style="width: 10%"></td>
        <td style="width: 10%"></td>
        <td style="width: 10%"></td>
        <td style="width: 10%"></td>
        <td style="width: 10%"></td>
        <td style="width: 10%"></td>
        <td style="width: 10%"></td>
        <td style="width: 10%"></td>
    </tr>
    </table>
    </div>
    <div style="width: 800px;height: 50px;"  id="pager" class="pager clearfix">
    </div>
</form>
</body>
</html>
<script src="./js/carInfo.js"></script>
<script>


</script>
